Xbasic
OBJECT.DELETE_RECORD Function
Syntax
.Delete_Record([L noConfirm])
Arguments
- noConfirm
Logical
Description
Deletes the current record.
Discussion
The <OBJECT>.DELETE_RECORD() method applies to:
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.DELETE_RECORD() method displays a confirmation message box and then deletes the current record in the layout after .
Example
This button on a form deletes the current record:
parentform.delete_record()
This button on a form deletes the current record in an embedded browse (called Items):
parentform:items.delete_record()
Limitations
Desktop applications only.
See Also